home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Leser 15 / Amiga Plus Leser CD 15.iso / Tools / Development / PowerD_mui / modules / mui / Texteditor_mcc.m < prev    next >
Encoding:
Text File  |  2002-03-13  |  5.3 KB  |  138 lines

  1. /* The original TextEditor_mcc.h converted and edited
  2. ** by Miklós Németh (06.06.2000)
  3. ** I used h2m in first pass ;)
  4. */
  5.  
  6. #define MUIC_TextEditor      'TextEditor.mcc'
  7. #define TextEditorObject     MUI_NewObjectA(MUIC_TextEditor,[TAG_IGNORE,0
  8.  
  9. CONST TextEditor_Dummy                   =$ad000000
  10.  
  11. CONST MUIA_TextEditor_AreaMarked         =$ad000014
  12. CONST MUIA_TextEditor_ColorMap           =$ad00002f
  13. CONST MUIA_TextEditor_Contents           =$ad000002
  14. CONST MUIA_TextEditor_CursorX            =$ad000004
  15. CONST MUIA_TextEditor_CursorY            =$ad000005
  16. CONST MUIA_TextEditor_DoubleClickHook    =$ad000006
  17. CONST MUIA_TextEditor_ExportHook         =$ad000008
  18. CONST MUIA_TextEditor_ExportWrap         =$ad000009
  19. CONST MUIA_TextEditor_FixedFont          =$ad00000a
  20. CONST MUIA_TextEditor_Flow               =$ad00000b
  21. CONST MUIA_TextEditor_HasChanged         =$ad00000c
  22. CONST MUIA_TextEditor_HorizontalScroll   =$ad00002d
  23. CONST MUIA_TextEditor_ImportHook         =$ad00000e
  24. CONST MUIA_TextEditor_ImportWrap         =$ad000010
  25. CONST MUIA_TextEditor_InsertMode         =$ad00000f
  26. CONST MUIA_TextEditor_InVirtualGroup     =$ad00001b
  27. CONST MUIA_TextEditor_KeyBindings        =$ad000011
  28. CONST MUIA_TextEditor_NumLock            =$ad000018
  29. CONST MUIA_TextEditor_Pen                =$ad00002e
  30. CONST MUIA_TextEditor_PopWindow_Open     =$ad000003
  31. CONST MUIA_TextEditor_Prop_DeltaFactor   =$ad00000d
  32. CONST MUIA_TextEditor_Prop_Entries       =$ad000015
  33. CONST MUIA_TextEditor_Prop_First         =$ad000020
  34. CONST MUIA_TextEditor_Prop_Release       =$ad000001
  35. CONST MUIA_TextEditor_Prop_Visible       =$ad000016
  36. CONST MUIA_TextEditor_Quiet              =$ad000017
  37. CONST MUIA_TextEditor_ReadOnly           =$ad000019
  38. CONST MUIA_TextEditor_RedoAvailable      =$ad000013
  39. CONST MUIA_TextEditor_Separator          =$ad00002c
  40. CONST MUIA_TextEditor_Slider             =$ad00001a
  41. CONST MUIA_TextEditor_StyleBold          =$ad00001c
  42. CONST MUIA_TextEditor_StyleItalic        =$ad00001d
  43. CONST MUIA_TextEditor_StyleUnderline     =$ad00001e
  44. CONST MUIA_TextEditor_TypeAndSpell       =$ad000007
  45. CONST MUIA_TextEditor_UndoAvailable      =$ad000012
  46. CONST MUIA_TextEditor_WrapBorder         =$ad000021
  47. CONST MUIA_TextEditor_Rows               =$ad000032
  48. CONST MUIA_TextEditor_Columns            =$ad000033
  49. CONST MUIM_TextEditor_AddKeyBindings     =$ad000022
  50. CONST MUIM_TextEditor_ARexxCmd           =$ad000023
  51. CONST MUIM_TextEditor_ClearText          =$ad000024
  52. CONST MUIM_TextEditor_ExportText         =$ad000025
  53. CONST MUIM_TextEditor_HandleError        =$ad00001f
  54. CONST MUIM_TextEditor_InsertText         =$ad000026
  55. CONST MUIM_TextEditor_MacroBegin         =$ad000027
  56. CONST MUIM_TextEditor_MacroEnd           =$ad000028
  57. CONST MUIM_TextEditor_MacroExecute       =$ad000029
  58. CONST MUIM_TextEditor_Replace            =$ad00002a
  59. CONST MUIM_TextEditor_Search             =$ad00002b
  60.  
  61. OBJECT MUIP_TextEditor_ARexxCmd
  62.         MethodID:ULONG,
  63.         command:PTR TO UBYTE
  64.  
  65. OBJECT MUIP_TextEditor_ClearText
  66.         MethodID:ULONG
  67.  
  68. OBJECT MUIP_TextEditor_ExportText
  69.         MethodID:ULONG
  70.  
  71. OBJECT MUIP_TextEditor_HandleError
  72.         MethodID:ULONG,
  73.         errorcode:ULONG
  74.  
  75. OBJECT MUIP_TextEditor_InsertText
  76.         MethodID:ULONG,
  77.         text:PTR TO UBYTE,
  78.         pos:LONG
  79.  
  80. OBJECT MUIP_TextEditor_Search
  81.         MethodID:ULONG,
  82.         string:PTR TO UBYTE,
  83.         flags:LONG
  84.  
  85. CONST MUIV_TextEditor_ExportHook_Plain        =$00000000
  86. CONST MUIV_TextEditor_ExportHook_EMail        =$00000001
  87. CONST MUIV_TextEditor_Flow_Left               =$00000000
  88. CONST MUIV_TextEditor_Flow_Center             =$00000001
  89. CONST MUIV_TextEditor_Flow_Right              =$00000002
  90. CONST MUIV_TextEditor_Flow_Justified          =$00000003
  91. CONST MUIV_TextEditor_ImportHook_Plain        =$00000000
  92. CONST MUIV_TextEditor_ImportHook_EMail        =$00000002
  93. CONST MUIV_TextEditor_ImportHook_MIME         =$00000003
  94. CONST MUIV_TextEditor_ImportHook_MIMEQuoted   =$00000004
  95. CONST MUIV_TextEditor_InsertText_Cursor       =$00000000
  96. CONST MUIV_TextEditor_InsertText_Top          =$00000001
  97. CONST MUIV_TextEditor_InsertText_Bottom       =$00000002
  98. CONST MUIV_TextEditor_LengthHook_Plain        =$00000000
  99. CONST MUIV_TextEditor_LengthHook_ANSI         =$00000001
  100. CONST MUIV_TextEditor_LengthHook_HTML         =$00000002
  101. CONST MUIV_TextEditor_LengthHook_MAIL         =$00000003
  102.  
  103. CONST MUIF_TextEditor_Search_FromTop        =1
  104. CONST MUIF_TextEditor_Search_Next           =2
  105. CONST MUIF_TextEditor_Search_CaseSensitive  =4
  106. CONST MUIF_TextEditor_Search_DOSPattern     =8
  107. CONST MUIF_TextEditor_Search_Backwards      =16
  108.  
  109. CONST Error_ClipboardIsEmpty          =$01
  110. CONST Error_ClipboardIsNotFTXT        =$02
  111. CONST Error_MacroBufferIsFull         =$03
  112. CONST Error_MemoryAllocationFailed    =$04
  113. CONST Error_NoAreaMarked              =$05
  114. CONST Error_NoMacroDefined            =$06
  115. CONST Error_NothingToRedo             =$07
  116. CONST Error_NothingToUndo             =$08
  117. CONST Error_NotEnoughUndoMem          =$09
  118. CONST Error_StringNotFound            =$0a
  119. CONST Error_NoBookmarkInstalled       =$0b
  120. CONST Error_BookmarkHasBeenLost       =$0c
  121.  
  122. OBJECT ClickMessage
  123.         LineContents:PTR TO UBYTE,
  124.         ClickPosition:ULONG
  125.  
  126. CONST LNSB_Top              =0
  127. CONST LNSB_Middle           =1
  128. CONST LNSB_Bottom           =2
  129. CONST LNSB_StrikeThru       =3
  130. CONST LNSB_Thick            =4
  131.  
  132. CONST LNSF_Top              =1
  133. CONST LNSF_Middle           =2
  134. CONST LNSF_Bottom           =4
  135. CONST LNSF_StrikeThru       =8
  136. CONST LNSF_Thick            =16
  137.  
  138.